LayerEvents

data class LayerEvents(val show: LayerEvents.ShowEvent, val hide: LayerEvents.HideEvent, val tileLoad: LayerEvents.TileLoadEvent, val tileError: LayerEvents.TileErrorEvent, val tileDiscard: LayerEvents.TileDiscardEvent, val loadStart: LayerEvents.LoadStartEvent, val loadComplete: LayerEvents.LoadCompleteEvent, val samplePaintChange: LayerEvents.SamplePaintChangeEvent)

Constructors

Types

Link copied to clipboard
data class Hide(val id: String = "hide") : Event

Triggered when the layer is hidden.

Link copied to clipboard
data class HideEvent(val tile: TileProtocol<TileData>) : EventCustom
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Ready(val id: String = "ready") : Event

Triggered when the layer is ready.

Link copied to clipboard
data class SamplePaintChangeEvent(val property: String, val value: Any? = null) : EventCustom

Triggered when the layer's paint properties change

Link copied to clipboard
data class Show(val id: String = "show") : Event

Triggered when the layer becomes visible.

Link copied to clipboard
data class ShowEvent(val tile: TileProtocol<TileData>) : EventCustom
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard